<html><head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8"><title>NextScreenMode</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">NextScreenMode()</font></b></p>
<p><b>Syntax</b></p><blockquote>

Result = <font color="#006666"><b>NextScreenMode</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>



This function should be called after <a href="examinescreenmodes.html">ExamineScreenModes()</a>. It will go step-by-step into 
the screen modes list. The current screen mode information can be retieved with the following 
functions: <a href="screenmodewidth.html">ScreenModeWidth()</a>, <a href="screenmodeheight.html">ScreenModeHeight()</a>, <a href="screenmodedepth.html">ScreenModeDepth()</a> and <a href="screenmoderefreshrate.html">ScreenModeRefreshRate()</a>. 

 

</blockquote><p><b>Parameters</b></p><blockquote>

None.





</blockquote><p><b>Return value</b></p><blockquote>



Nonzero if there is another screenmode to be listed, zero otherwise. 

 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2"><font color="#006666">  InitSprite</font>()

  <b><font color="#006666">If</font></b> <font color="#006666">ExamineScreenModes</font>()
    <b><font color="#006666">While</font></b> <font color="#006666">NextScreenMode</font>()
      <b><font color="#006666">Debug</font></b> <font color="#006666">Str</font>(<font color="#006666">ScreenModeWidth</font>())+"x"+<font color="#006666">Str</font>(<font color="#006666">ScreenModeHeight</font>())+"x"+<font color="#006666">Str</font>(<font color="#006666">ScreenModeDepth</font>())+"@"+<font color="#006666">Str</font>(<font color="#006666">ScreenModeRefreshRate</font>())+"Hz"
    <b><font color="#006666">Wend</font></b>
  <b><font color="#006666">EndIf</font></b>
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="examinescreenmodes.html">ExamineScreenModes()</a>, <a href="screenmodewidth.html">ScreenModeWidth()</a>, <a href="screenmodeheight.html">ScreenModeHeight()</a>, <a href="screenmodedepth.html">ScreenModeDepth()</a>, <a href="screenmoderefreshrate.html">ScreenModeRefreshRate()</a> 

</Blockquote><p><b>Supported OS  </b><Blockquote>All</Blockquote></p><center>&lt;- <a href=isscreenactive.html>IsScreenActive()</a> - <a href=index.html>Screen Index</a> - <a href=openscreen.html>OpenScreen()</a> -&gt;



</body></html>